//
//  YDYMessageTableViewCell.m
//  DYChats
//
//  Created by 杨德勇 on 2016/9/12.
//  Copyright © 2016年 杨德勇. All rights reserved.
//

#import "YDYMessageTableViewCell.h"
@interface YDYMessageTableViewCell()
//用户头像
@property (weak, nonatomic) IBOutlet UIImageView *profileImageView;
//文字
@property (weak, nonatomic) IBOutlet UILabel *messageLabel;

@end

@implementation YDYMessageTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
     [self.profileImageView.layer setCornerRadius:25];
    
}
-(void)setText:(NSString *)text{
    _text = text;
    
    self.messageLabel.text = text;
    [self.messageLabel layoutIfNeeded];
    
   
    
}

@end
